package org.ubc.cs410.disposal2020.client.dto;

import java.io.Serializable;
import java.util.List;

/*
 * client data object, equivalence of Map.Class
 * To be stored on client side
 */

public class MapDto implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;

	private String name;

	private String description;

	private Integer totalGarbage; // default garbage on the entire map

	private Float centerLatitude;

	private Float centerLongitude;

	private Integer zoomLevel;

	private List<BuildingBoundaryDto> buildingList;

	public MapDto(String name, String description, Integer totalGarbage,
			Float centerLatitude, Float centerLongitude, Integer zoomLevel,
			List<BuildingBoundaryDto> buildingList) {
		super();
		this.name = name;
		this.description = description;
		this.totalGarbage = totalGarbage;
		this.buildingList = buildingList;
		this.centerLatitude = centerLatitude;
		this.centerLongitude = centerLongitude;
		this.zoomLevel = zoomLevel;
	}

	public MapDto() {
		// Empty constructor for stupid GWT serialization
	}

	public Float getCenterLatitude() {
		return centerLatitude;
	}

	public void setCenterLatitude(Float centerLatitude) {
		this.centerLatitude = centerLatitude;
	}

	public Float getCenterLongitude() {
		return centerLongitude;
	}

	public void setCenterLongitude(Float centerLongitude) {
		this.centerLongitude = centerLongitude;
	}

	public Integer getZoomLevel() {
		return zoomLevel;
	}

	public void setZoomLevel(Integer zoomLevel) {
		this.zoomLevel = zoomLevel;
	}

	public List<BuildingBoundaryDto> getBuildingList() {
		return buildingList;
	}

	public void setBuildingList(List<BuildingBoundaryDto> buildingList) {
		this.buildingList = buildingList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getTotalGarbage() {
		return totalGarbage;
	}

	public void setTotalGarbage(Integer totalGarbage) {
		this.totalGarbage = totalGarbage;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
}
